package com.bauer.devtools.elasticjob.job;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class FirstJob implements SimpleJob {

    private Logger logger = LoggerFactory.getLogger(FirstJob.class);

    public void execute(ShardingContext shardingContext) {
        logger.info("TreadName:[{}],item:[{}]",Thread.currentThread().getName(),shardingContext.getShardingItem());
    }
}
